package com.dgyt.contract.msg.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author SQ
 * @since 2020-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dgMsg")
//@ApiModel(value="DgMsg对象", description="")
public class DgMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //    @ApiModelProperty(value = "消息内容")
    @TableField("msgBody")
    private String msgBody;

    //    @ApiModelProperty(value = "消息产生时间")
    @TableField("msgTime")
    private LocalDateTime msgTime;

    //    @ApiModelProperty(value = "消息类型（重要不重要）")
    @TableField("msgType")
    private String msgType;

    //    @ApiModelProperty(value = "消息标题")
    @TableField("msgTitle")
    private String msgTitle;

    //    @ApiModelProperty(value = "消息标签")
    @TableField("msgTag")
    private String msgTag;

    //    @ApiModelProperty(value = "是否启用")
    @TableLogic
    private Integer flag;
    //    @ApiModelProperty(value = "是否是指定接收人")
    @TableField("msgUser")
    private String msgUser;


}
